package com.fufan.mtsaas.modules.unsafeevent.baqsjrecordmain.bo.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fufan.mtsaas.modules.common.bo.request.ReqBasePage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author Liby
 * @date 2024-12-16
 */
@Data
@ApiModel(description = "Unsafeevent查询请求")
public class UnsafeeventQueryRequest extends ReqBasePage {

    @ApiModelProperty(value = "事件ID")
    private Long id;

    @ApiModelProperty(value = "事件名称")
    private String eventName;

    @ApiModelProperty(value = "上报开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startCreateTime;

    @ApiModelProperty(value = "上报结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endCreateTime;

    @ApiModelProperty(value = "发生地点")
    private String locale;

    @ApiModelProperty(value = "发生开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startOpenTime;

    @ApiModelProperty(value = "发生结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endOpenTime;

    @ApiModelProperty(value = "上报院区")
    private String division;

    @ApiModelProperty(value = "流转状态")
    private Integer status;

    @ApiModelProperty(value = "审核状态,结果： 1草稿 2处理中 3已完结 4已驳回 5已删除")
    private Integer auditStatus;

    @ApiModelProperty(value = "任务状态,结果： 1-draft 2-waitingApproval 3-alreadyApproved 4-copycc", hidden = true)
    private String queryType;

    @ApiModelProperty(value = "处理人", hidden = true)
    private String createBy;

    @ApiModelProperty(value = "公司ID", hidden = true)
    private Long companyId;
}
